package com.dhcc.bpm.modules.sandbox.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName CaseApiReturn
 * @Description 沙箱实例API返回码表实体类
 * @Author sjm
 * @Date 2020/2/21 0021 15:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 **/
@Data
@TableName("opc_case_api_return")
@ApiModel(value = "CaseApiReturn对象", description = "沙箱实例API返回码表")
public class CaseApiReturn implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	* 编号
	*/
		@ApiModelProperty(value = "编号")
		@JsonSerialize( using = ToStringSerializer.class, nullsUsing = NullSerializer.class)
		@TableId( value = "id", type = IdType.ASSIGN_ID )
		private Long id;
	/**
	* APIID
	*/
		@ApiModelProperty(value = "APIID")
		@JsonSerialize( using = ToStringSerializer.class, nullsUsing = NullSerializer.class)
		private Long apiId;
	/**
	* 实例ID
	*/
		@ApiModelProperty(value = "实例ID")
		@JsonSerialize( using = ToStringSerializer.class, nullsUsing = NullSerializer.class)
		private Long caseId;
	/**
	* 返回码ID
	*/
		@ApiModelProperty(value = "返回码ID")
		@JsonSerialize( using = ToStringSerializer.class, nullsUsing = NullSerializer.class)
		private Long returnCodeId;

}
